﻿using Shop.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Shop.Base.Entity
{
    /// <summary>
    /// 商城前端搜索关键词
    /// </summary>
    [SugarTable("ShopBaseKeyword")]
    public class ShopBaseKeywordPo : BaseEntity
    {
        /// <summary>
        /// 内置Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]        
        public int Id { get; set; }
        /// <summary>
        /// 【关键词】简体中文
        /// </summary>
        [Required(ErrorMessage ="关键词不能为空")]
        public string KeyCn { get; set; }
        /// <summary>
        /// 【关键词】英文
        /// </summary>
        public string KeyEn { get; set; }
        /// <summary>
        /// 【关键词】繁体中文
        /// </summary>
        public string KeyCh { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否前端显示
        /// </summary>
        public bool IsShow { get; set; }
    }
}
